import Vue from 'vue'
import Vuex from 'vuex'
import list from './module/list.js'
import publicShow from './module/publicShow.js'
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
    isNavPublic: true
  },
  mutations: {
    show (state) {
      state.isNavPublic = true
    },
    hide (state) {
      state.isNavPublic = false
    }
  },
  actions: {

  },
  modules: {
    list,
    publicShow
  }
})
